public class HelloWorldLoops2
{
	public static void main(String[] args)
	{
		int x = 0;
		
		boolean keepGoing = true;
		while (keepGoing)
		{
			System.out.print(x);
			
			if (x >= 10)
			{
				keepGoing = false;
			}
			
			x++;
		}
		System.out.println("");
		x = 0;
		while(x <=10)
		{
			System.out.print(x);
			x++;
		}
	}
	
}
